Repository navigation
Honor OPENVAX_DATA_CACHE, add pyensembl dirs and --offline (v2.38.0) - #546
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #545.
Summary
datacache>=1.34.0,<2.0.0.OPENVAX_DATA_CACHEas a shared fallback behindPYENSEMBL_CACHE_DIR($OPENVAX_DATA_CACHE/pyensembl) while keeping existing platform cache directories unchanged.pyensembl dirs [--json]to report the resolved cache root, why it resolved there (origin/detail), offline status, and per-subdirectory disk usage without creating directories or touching the network.--offlineCLI flag (and honorOPENVAX_OFFLINE/DATACACHE_OFFLINE) to fail fast with a clean CLI error on remote download attempts while serving local caches, and honorOPENVAX_NO_PROGRESS/DATACACHE_NO_PROGRESSviadatacache.should_show_progress.2.38.0withRELEASE_NOTES.md.Verification
./lint.shpasses (ruff + mypy)./test.shpasses (1191 tests, 94% coverage)./docs.shpasses (27 pages, 2509 internal links)